<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Irrlicht 3D Engine: irr::scene::SMesh Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="irrlichtlogo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Irrlicht 3D Engine
   
   </div>
   
  </td>
  
  
  
   
   <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
</td>
   
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('structirr_1_1scene_1_1_s_mesh.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">irr::scene::SMesh Struct Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="irr::scene::SMesh" --><!-- doxytag: inherits="irr::scene::IMesh" -->
<p>Simple implementation of the <a class="el" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a> interface.  
 <a href="structirr_1_1scene_1_1_s_mesh.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for irr::scene::SMesh:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="structirr_1_1scene_1_1_s_mesh.png" usemap="#irr::scene::SMesh_map" alt=""/>
  <map id="irr::scene::SMesh_map" name="irr::scene::SMesh_map">
<area href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object." alt="irr::scene::IMesh" shape="rect" coords="0,56,140,80"/>
<area href="classirr_1_1_i_reference_counted.html" title="Base class of most objects of the Irrlicht Engine." alt="irr::IReferenceCounted" shape="rect" coords="0,0,140,24"/>
</map>
 </div></div>

<p><a href="structirr_1_1scene_1_1_s_mesh-members.html">List of all members.</a></p>
<h2><a name="pub-methods"></a>
Public Member Functions</h2>
<ul>
<li><a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aab06c74fc6a28e791e09b9f91f9ded89">SMesh</a> ()
<dl class="el"><dd class="mdescRight">constructor  <a href="#aab06c74fc6a28e791e09b9f91f9ded89"></a><br/></dl><li>virtual <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aafb289351ba15b01c139159f028928e6">~SMesh</a> ()
<dl class="el"><dd class="mdescRight">destructor  <a href="#aafb289351ba15b01c139159f028928e6"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a890e7506262b2ebaf45ff95c681452bd">addMeshBuffer</a> (<a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> *buf)
<dl class="el"><dd class="mdescRight">adds a MeshBuffer  <a href="#a890e7506262b2ebaf45ff95c681452bd"></a><br/></dl><li>virtual void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a9a59598f69840164cc06a2059ff4de68">clear</a> ()
<dl class="el"><dd class="mdescRight">clean mesh  <a href="#a9a59598f69840164cc06a2059ff4de68"></a><br/></dl><li>virtual const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a><br class="typebreak"/>
&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; &amp; <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a2161ec060656217d3891cbbe625a2839">getBoundingBox</a> () const 
<dl class="el"><dd class="mdescRight">returns an axis aligned bounding box  <a href="#a2161ec060656217d3891cbbe625a2839"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> * <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aa09a0337548c05cf18ba5d0f074683ec">getMeshBuffer</a> (<a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> nr) const 
<dl class="el"><dd class="mdescRight">returns pointer to a mesh buffer  <a href="#aa09a0337548c05cf18ba5d0f074683ec"></a><br/></dl><li>virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> * <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#aac4d15c3ad968d2963b298ce70cc84a3">getMeshBuffer</a> (const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;material) const 
<dl class="el"><dd class="mdescRight">returns a meshbuffer which fits a material  <a href="#aac4d15c3ad968d2963b298ce70cc84a3"></a><br/></dl><li>virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ab20af5f5abef96554caad912b0e12388">getMeshBufferCount</a> () const 
<dl class="el"><dd class="mdescRight">returns amount of mesh buffers.  <a href="#ab20af5f5abef96554caad912b0e12388"></a><br/></dl><li>void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a7a16bc83094ab242ae779baf817dc7f9">recalculateBoundingBox</a> ()
<dl class="el"><dd class="mdescRight">recalculates the bounding box  <a href="#a7a16bc83094ab242ae779baf817dc7f9"></a><br/></dl><li>virtual void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a636e4df4054b2ed2911808cfb6df5cb3">setBoundingBox</a> (const <a class="el" href="namespaceirr_1_1core.html#adfc8fa01b30044c55f3332a1d6c1aa19">core::aabbox3df</a> &amp;box)
<dl class="el"><dd class="mdescRight">set user axis aligned bounding box  <a href="#a636e4df4054b2ed2911808cfb6df5cb3"></a><br/></dl><li>virtual void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a3ffa0e6294be831ca5be6e6ff9829ca9">setDirty</a> (<a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a> buffer=EBT_VERTEX_AND_INDEX)
<dl class="el"><dd class="mdescRight">flags the meshbuffer as changed, reloads hardware buffers  <a href="#a3ffa0e6294be831ca5be6e6ff9829ca9"></a><br/></dl><li>virtual void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a79839b08062bfcd283e441056bf846e6">setHardwareMappingHint</a> (<a class="el" href="namespaceirr_1_1scene.html#ac7d8ee8d77da75f2580bb9bb17231c27">E_HARDWARE_MAPPING</a> newMappingHint, <a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a> buffer=EBT_VERTEX_AND_INDEX)
<dl class="el"><dd class="mdescRight">set the hardware mapping hint, for driver  <a href="#a79839b08062bfcd283e441056bf846e6"></a><br/></dl><li>virtual void <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#a0ca30440aef6ca66dfc177b2a0e41e52">setMaterialFlag</a> (<a class="el" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3">video::E_MATERIAL_FLAG</a> flag, bool newvalue)
<dl class="el"><dd class="mdescRight">sets a flag of all contained materials to a new value  <a href="#a0ca30440aef6ca66dfc177b2a0e41e52"></a><br/></dl></ul>
<h2><a name="pub-attribs"></a>
Public Attributes</h2>
<ul>
<li><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt; <a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a> &gt; <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ac984f3a50af351326e81474aef667c7c">BoundingBox</a>
<dl class="el"><dd class="mdescRight">The bounding box of this mesh.  <a href="#ac984f3a50af351326e81474aef667c7c"></a><br/></dl><li><a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt; <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> * &gt; <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ad7b37c4de22b8ab520e310c01cea637c">MeshBuffers</a>
<dl class="el"><dd class="mdescRight">The meshbuffers of this mesh.  <a href="#ad7b37c4de22b8ab520e310c01cea637c"></a><br/></dl></ul>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Simple implementation of the <a class="el" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a> interface. </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00018">18</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aab06c74fc6a28e791e09b9f91f9ded89"></a><!-- doxytag: member="irr::scene::SMesh::SMesh" ref="aab06c74fc6a28e791e09b9f91f9ded89" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">irr::scene::SMesh::SMesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00021">21</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_i_reference_counted_8h_source.html#l00153">irr::IReferenceCounted::setDebugName()</a>.</p>

</div>
</div>
<a class="anchor" id="aafb289351ba15b01c139159f028928e6"></a><!-- doxytag: member="irr::scene::SMesh::~SMesh" ref="aafb289351ba15b01c139159f028928e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual irr::scene::SMesh::~SMesh </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>destructor </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00029">29</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_i_reference_counted_8h_source.html#l00116">irr::IReferenceCounted::drop()</a>, <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a890e7506262b2ebaf45ff95c681452bd"></a><!-- doxytag: member="irr::scene::SMesh::addMeshBuffer" ref="a890e7506262b2ebaf45ff95c681452bd" args="(IMeshBuffer *buf)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SMesh::addMeshBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a> *&#160;</td>
          <td class="paramname"><em>buf</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>adds a MeshBuffer </p>
<p>The bounding box is not updated automatically. </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00098">98</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_i_reference_counted_8h_source.html#l00086">irr::IReferenceCounted::grab()</a>, <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00112">irr::core::array&lt; T, TAlloc &gt;::push_back()</a>.</p>

</div>
</div>
<a class="anchor" id="a9a59598f69840164cc06a2059ff4de68"></a><!-- doxytag: member="irr::scene::SMesh::clear" ref="a9a59598f69840164cc06a2059ff4de68" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::scene::SMesh::clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>clean mesh </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00037">37</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00132">BoundingBox</a>, <a class="el" href="irr_array_8h_source.html#l00203">irr::core::array&lt; T, TAlloc &gt;::clear()</a>, <a class="el" href="_i_reference_counted_8h_source.html#l00116">irr::IReferenceCounted::drop()</a>, <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, <a class="el" href="aabbox3d_8h_source.html#l00050">irr::core::aabbox3d&lt; T &gt;::reset()</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="a2161ec060656217d3891cbbe625a2839"></a><!-- doxytag: member="irr::scene::SMesh::getBoundingBox" ref="a2161ec060656217d3891cbbe625a2839" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt;&amp; irr::scene::SMesh::getBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns an axis aligned bounding box </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#ada6ecee9cbebed8bb67fd92872552ea0">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00072">72</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00132">BoundingBox</a>.</p>

</div>
</div>
<a class="anchor" id="aa09a0337548c05cf18ba5d0f074683ec"></a><!-- doxytag: member="irr::scene::SMesh::getMeshBuffer" ref="aa09a0337548c05cf18ba5d0f074683ec" args="(u32 nr) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a>* irr::scene::SMesh::getMeshBuffer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a>&#160;</td>
          <td class="paramname"><em>nr</em></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns pointer to a mesh buffer </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a2cd1a04b396235101f426befba0c5b82">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00053">53</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>.</p>

</div>
</div>
<a class="anchor" id="aac4d15c3ad968d2963b298ce70cc84a3"></a><!-- doxytag: member="irr::scene::SMesh::getMeshBuffer" ref="aac4d15c3ad968d2963b298ce70cc84a3" args="(const video::SMaterial &amp;material) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a>* irr::scene::SMesh::getMeshBuffer </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classirr_1_1video_1_1_s_material.html">video::SMaterial</a> &amp;&#160;</td>
          <td class="paramname"><em>material</em></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns a meshbuffer which fits a material </p>
<p>reverse search </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a9573dace82efb01ba1f35f9cc28a4ced">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00060">60</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="ab20af5f5abef96554caad912b0e12388"></a><!-- doxytag: member="irr::scene::SMesh::getMeshBufferCount" ref="ab20af5f5abef96554caad912b0e12388" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceirr.html#a0416a53257075833e7002efd0a18e804">u32</a> irr::scene::SMesh::getMeshBufferCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>returns amount of mesh buffers. </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a2ebed0bdae2d6537c36b0b7ac831edb8">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00047">47</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="a7a16bc83094ab242ae779baf817dc7f9"></a><!-- doxytag: member="irr::scene::SMesh::recalculateBoundingBox" ref="a7a16bc83094ab242ae779baf817dc7f9" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void irr::scene::SMesh::recalculateBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>recalculates the bounding box </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00084">84</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="aabbox3d_8h_source.html#l00082">irr::core::aabbox3d&lt; T &gt;::addInternalBox()</a>, <a class="el" href="_s_mesh_8h_source.html#l00132">BoundingBox</a>, <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, <a class="el" href="aabbox3d_8h_source.html#l00050">irr::core::aabbox3d&lt; T &gt;::reset()</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="a636e4df4054b2ed2911808cfb6df5cb3"></a><!-- doxytag: member="irr::scene::SMesh::setBoundingBox" ref="a636e4df4054b2ed2911808cfb6df5cb3" args="(const core::aabbox3df &amp;box)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::scene::SMesh::setBoundingBox </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceirr_1_1core.html#adfc8fa01b30044c55f3332a1d6c1aa19">core::aabbox3df</a> &amp;&#160;</td>
          <td class="paramname"><em>box</em></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set user axis aligned bounding box </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a0aee3b5bc5d31ce996becc069f65e642">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00078">78</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00132">BoundingBox</a>.</p>

</div>
</div>
<a class="anchor" id="a3ffa0e6294be831ca5be6e6ff9829ca9"></a><!-- doxytag: member="irr::scene::SMesh::setDirty" ref="a3ffa0e6294be831ca5be6e6ff9829ca9" args="(E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::scene::SMesh::setDirty </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a>&#160;</td>
          <td class="paramname"><em>buffer</em> = <code>EBT_VERTEX_AND_INDEX</code></td><td>)</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>flags the meshbuffer as changed, reloads hardware buffers </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a496534cd4813d520d887785720f66c9b">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00122">122</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="a79839b08062bfcd283e441056bf846e6"></a><!-- doxytag: member="irr::scene::SMesh::setHardwareMappingHint" ref="a79839b08062bfcd283e441056bf846e6" args="(E_HARDWARE_MAPPING newMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::scene::SMesh::setHardwareMappingHint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#ac7d8ee8d77da75f2580bb9bb17231c27">E_HARDWARE_MAPPING</a>&#160;</td>
          <td class="paramname"><em>newMappingHint</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1scene.html#a8f59a89ffef0ad8e5b2c2cb874a93e8c">E_BUFFER_TYPE</a>&#160;</td>
          <td class="paramname"><em>buffer</em> = <code>EBT_VERTEX_AND_INDEX</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set the hardware mapping hint, for driver </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a1de908b8e67c28bdac546e8599043dfe">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00115">115</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<a class="anchor" id="a0ca30440aef6ca66dfc177b2a0e41e52"></a><!-- doxytag: member="irr::scene::SMesh::setMaterialFlag" ref="a0ca30440aef6ca66dfc177b2a0e41e52" args="(video::E_MATERIAL_FLAG flag, bool newvalue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void irr::scene::SMesh::setMaterialFlag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceirr_1_1video.html#a8a3bc00ae8137535b9fbc5f40add70d3">video::E_MATERIAL_FLAG</a>&#160;</td>
          <td class="paramname"><em>flag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>newvalue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets a flag of all contained materials to a new value </p>

<p>Implements <a class="el" href="classirr_1_1scene_1_1_i_mesh.html#a56e034b671f52653d6c91e0ffa42febd">irr::scene::IMesh</a>.</p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00108">108</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>References <a class="el" href="_s_mesh_8h_source.html#l00129">MeshBuffers</a>, and <a class="el" href="irr_array_8h_source.html#l00368">irr::core::array&lt; T, TAlloc &gt;::size()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ac984f3a50af351326e81474aef667c7c"></a><!-- doxytag: member="irr::scene::SMesh::BoundingBox" ref="ac984f3a50af351326e81474aef667c7c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1aabbox3d.html">core::aabbox3d</a>&lt;<a class="el" href="namespaceirr.html#a0277be98d67dc26ff93b1a6a1d086b07">f32</a>&gt; <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ac984f3a50af351326e81474aef667c7c">irr::scene::SMesh::BoundingBox</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The bounding box of this mesh. </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00132">132</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>Referenced by <a class="el" href="_s_mesh_8h_source.html#l00037">clear()</a>, <a class="el" href="_s_mesh_8h_source.html#l00072">getBoundingBox()</a>, <a class="el" href="_s_mesh_8h_source.html#l00084">recalculateBoundingBox()</a>, and <a class="el" href="_s_mesh_8h_source.html#l00078">setBoundingBox()</a>.</p>

</div>
</div>
<a class="anchor" id="ad7b37c4de22b8ab520e310c01cea637c"></a><!-- doxytag: member="irr::scene::SMesh::MeshBuffers" ref="ad7b37c4de22b8ab520e310c01cea637c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classirr_1_1core_1_1array.html">core::array</a>&lt;<a class="el" href="classirr_1_1scene_1_1_i_mesh_buffer.html">IMeshBuffer</a>*&gt; <a class="el" href="structirr_1_1scene_1_1_s_mesh.html#ad7b37c4de22b8ab520e310c01cea637c">irr::scene::SMesh::MeshBuffers</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The meshbuffers of this mesh. </p>

<p>Definition at line <a class="el" href="_s_mesh_8h_source.html#l00129">129</a> of file <a class="el" href="_s_mesh_8h_source.html">SMesh.h</a>.</p>

<p>Referenced by <a class="el" href="_s_mesh_8h_source.html#l00098">addMeshBuffer()</a>, <a class="el" href="_s_mesh_8h_source.html#l00037">clear()</a>, <a class="el" href="_s_mesh_8h_source.html#l00053">getMeshBuffer()</a>, <a class="el" href="_s_mesh_8h_source.html#l00047">getMeshBufferCount()</a>, <a class="el" href="_s_mesh_8h_source.html#l00084">recalculateBoundingBox()</a>, <a class="el" href="_s_mesh_8h_source.html#l00122">setDirty()</a>, <a class="el" href="_s_mesh_8h_source.html#l00115">setHardwareMappingHint()</a>, <a class="el" href="_s_mesh_8h_source.html#l00108">setMaterialFlag()</a>, and <a class="el" href="_s_mesh_8h_source.html#l00029">~SMesh()</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="_s_mesh_8h_source.html">SMesh.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceirr.html">irr</a>      </li>
      <li class="navelem"><a class="el" href="namespaceirr_1_1scene.html">scene</a>      </li>
      <li class="navelem"><a class="el" href="structirr_1_1scene_1_1_s_mesh.html">SMesh</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
<a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht 
Engine</a> Documentation &copy; 2003-2012 by Nikolaus Gebhardt. Generated on Tue Jan 19 2016 16:08:55 for Irrlicht 3D Engine by
<a href="http://www.doxygen.org/index.html" target="_blank">Doxygen</a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
